{extend name="public/base" /}


{block name="content"}
<div class="container-fluid">
    <div class="breadcrumb-wrapper row">
        <div class="col-12 col-lg-3 col-md-6">
            <h4 class="page-title">添加管理员</h4>
        </div>
        <div class="col-12 col-lg-9 col-md-6">
            <ol class="breadcrumb float-right">
                <li><a href="{:url('Manage/home')}">控制台</a></li>
                <li class="active"> / 添加管理员</li>
            </ol>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-body">
                    <form method="post" action="{:url('Admin/addAdminDo')}">
                        <div class="form-group">
                            <label>用户名</label>
                            <input class="form-control" type="text" name="username" placeholder="输入用户名">
                        </div>
                        <div class="form-group">
                            <label>密码</label>
                            <input class="form-control" type="password" name="password" placeholder="输入密码">
                        </div>
                        <div class="form-group">
                            <div class="custom-control custom-radio radio custom-control-inline">
                                <input type="radio" class="custom-control-input" name="sex" id="male1" value="1">
                                <label class="custom-control-label" for="male1">男</label>
                            </div>
                            <div class="custom-control custom-radio radio custom-control-inline">
                                <input type="radio" class="custom-control-input" name="sex" id="female1" value="2" checked>
                                <label class="custom-control-label" for="female1">女</label>
                            </div>
                        </div>
                        <div class="from-group">
                            <label>简介</label>
                            <textarea class="form-control" name="remark" rows="3"></textarea>
                        </div>
                        <br>
                        <button type="submit" class="btn btn-common">提交保存</button>
                        <a href="{:url('Admin/adminList')}" class="btn btn-light">返回列表</a>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}
